<?php
namespace app\admin\model;
/**
 * 后台菜单
 */
class MenuModel {
	/**
     * 获取后台菜单
     */
	public function getMenu(){
		$list = get_all_service('Menu','Admin');
		//合并菜单
        foreach ($list as $value) {
            $menu = array_merge_recursive((array)$menu,(array)$value);
        }
        $menu = array_order($menu, 'order');
        return $menu;
	}
}